package com.atguigu.tingshu.model.album;

import com.atguigu.tingshu.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serial;

/**
 * 声音统计信息--对应数据库中的track_stat表
 * @author sun
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("track_stat")
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class TrackStat extends BaseEntity {

	@Serial
	private static final long serialVersionUID = 1L;
	/**
	 * 声音id
	 */
	@TableField("track_id")
	private Long trackId;
	/**
	 * 统计类型
	 */
	@TableField("stat_type")
	private String statType;
	/**
	 * 统计数目
	 */
	@TableField("stat_num")
	private Integer statNum;

}